const express = require('express')
const router = express.Router()

const userinfoHandler = require('../router_handler/userinfo')

router.get('/userinfo', userinfoHandler.getUserinfo)
router.post('/userinfo', userinfoHandler.updateUserinfo)
router.post('/updatepwd', userinfoHandler.updatePassword)
router.post('/update/avatar', userinfoHandler.updateAvatar)

module.exports = router